<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../include/base.jsp" %>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css" />
	<script type="text/javascript" src="../js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../js/jquery.min.js"></script>
   
</head>
<body class="body">
	
	<%@include file="../include/top.jsp" %>
	
	<div class="container">
	  <div class="row">
		
		 <%@include file="../include/left.jsp" %>
		
		<div class="span9">
			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
				<li class="active">
					<a href="document.jspx"><i class="icon-folder-open"></i>资料</a>>资料标题
				</li>
				
			</ul>
			<div class="wall">
				  <div class="page-header">
					<h3>${d.title}&nbsp;&nbsp;<small>${user.name }发布于 1个月前</small></h3>
				  </div>
				  <p>
				  ${d.content}
				  </p>
		 <form>
		  <fieldset>
		    <legend>发表评论</legend>
		    <label>标题</label>
		    <input type="text" class="span6">
		   
		    <label class="control-label" for="input01">内容</label>
		    <textarea name="" id="" class="redactor_content" name="content"></textarea>
		    <div style="margin-top:15px;text-align:right">
		    	<button type="submit" class="btn btn-primary">发表</button>
		    </div>
		   		 <c:forEach items="${page.list}" var="d">
						<p>
							${d.content} 
						</p>
	
						<c:forEach items="${page.list }" var="d">
							<p>${d.content }</p>
						</c:forEach>
					</c:forEach>
						  </fieldset>
						</form> 
								
				<a href="document.jspx">←返回资料列表</a>
			</div>
		</div>
	  </div>
	</div>
	
	<script type="text/javascript" src="../js/jquery.min.js"></script>
	<script type="text/javascript" src="../js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../js/redactor/redactor.js"></script>
  	<script type="text/javascript" src="../js/redactor/zh_cn.js"></script>
	  <script type="text/javascript">
	    $(document).ready(function(){
	    	$('.redactor-text').redactor({ 
	            lang: 'zh_cn',
	            buttons: [ 'bold', 'italic', 'deleted', '|',
	    'unorderedlist', 'orderedlist', 'outdent', 'indent', '|', 'link', '|','fontcolor', 'backcolor', '|', 'alignment', '|', 'horizontalrule']
	           });
	    });
	  </script>
</body>
</html>